package com.relytosoft.mizar.media.common.entity.pojo.dto.controlPlan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author wss
 * @version 1.0
 * @date 2022/5/23 10:22
 */
@ApiModel("布控计划dto")
public class ControlPlanDto {

    @ApiModelProperty("是否启用")
    private int enableRecordPlan;

    @ApiModelProperty("录像计划方式 0周计划 1日计划 2全程录像")
    private int recordPlanType;

    @ApiModelProperty("录像计划条数 周计划1-7 日计划1 全程录像0")
    private int planInfoNum;

    @ApiModelProperty("布控计划信息列表 周计划最多7个  日计划最多1个 全程录像无计划信息")
    private List<PlanInfoDto> planInfoList;

    public int getEnableRecordPlan() {
        return enableRecordPlan;
    }

    public void setEnableRecordPlan(int enableRecordPlan) {
        this.enableRecordPlan = enableRecordPlan;
    }

    public int getRecordPlanType() {
        return recordPlanType;
    }

    public void setRecordPlanType(int recordPlanType) {
        this.recordPlanType = recordPlanType;
    }

    public int getPlanInfoNum() {
        return planInfoNum;
    }

    public void setPlanInfoNum(int planInfoNum) {
        this.planInfoNum = planInfoNum;
    }

    public List<PlanInfoDto> getPlanInfoList() {
        return planInfoList;
    }

    public void setPlanInfoList(List<PlanInfoDto> planInfoList) {
        this.planInfoList = planInfoList;
    }

    @Override
    public String toString() {
        return "ControlPlanDto{" +
                "enableRecordPlan=" + enableRecordPlan +
                ", recordPlanType=" + recordPlanType +
                ", planInfoNum=" + planInfoNum +
                ", planInfoList=" + planInfoList +
                '}';
    }
}
